var Settings = require('./settings');
var Db = require('mongodb').Db;
var Connection = require('mongodb').Connection;
var Server = require('mongodb').Server; 
var db = new Db(Settings.db, new Server(Settings.host, Connection.DEFAULT_PORT, {auto_reconnect:true, native_parser: true}),{safe: false});

module.exports = db;
